home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / a_man / cat1 / scsidiskformat.z / scsidiskformat
Encoding:
Text File  |  2002-10-03  |  9.4 KB  |  199 lines

  1.  
  2.  
  3.  
  4. ssssccccssssiiiiddddiiiisssskkkkffffoooorrrrmmmmaaaatttt((((1111mmmm))))                                          ssssccccssssiiiiddddiiiisssskkkkffffoooorrrrmmmmaaaatttt((((1111mmmm))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      scsidiskformat - low level format of SCSI, Fibre Channel devices.
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ssssccccssssiiiiddddiiiisssskkkkffffoooorrrrmmmmaaaatttt -_d _D_e_v_i_c_e [[[[----DDDD ((((FFFFoooorrrrmmmmaaaatttt wwwwiiiitttthhhh OOOOppppttttiiiimmmmuuuummmm SSSSeeeettttttttiiiinnnnggggssss))))]]]]  [[[[----GGGG ((((EEEErrrraaaasssseeee
  13.      EEEExxxxiiiissssttttiiiinnnngggg GGGG,,,,CCCC LLLLiiiissssttttssss))))]]]] [[[[----CCCC ((((SSSSeeeetttt DDDDiiiissssaaaabbbblllleeee CCCCeeeerrrrttttiiiiffffiiiiccccaaaattttiiiioooonnnn BBBBiiiitttt))))]]]] [[[[----SSSS ((((DDDDoooonnnnooootttt SSSSttttoooopppp
  14.      FFFFoooorrrrmmmmaaaatttt oooonnnn EEEErrrrrrrroooorrrr))))]]]]
  15.  
  16. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.      scsidiskformat is a utility for the low level format of devices accessed
  18.      using the _S_G_I _S_C_S_I subsystem. It sends a 6 byte FFFFoooorrrrmmmmaaaatttt UUUUnnnniiiitttt command to
  19.      the device.
  20.  
  21.  
  22.      FFFFMMMMTTTT DDDDAAAATTTTAAAA ((((FFFFoooorrrrmmmmaaaatttt DDDDaaaattttaaaa)))) BBBBiiiitttt
  23.           Decides whether the Format Unit Parameter list [defect list header +
  24.           defect descriptor list] is to be supplied to the device. When set to
  25.           _1 the list is supplied to the device.
  26.  
  27.  
  28.      CCCCMMMMPPPP LLLLSSSSTTTT ((((CCCCoooommmmpppplllleeeetttteeee LLLLiiiisssstttt)))) BBBBiiiitttt
  29.           Decides whether to purge any  previous Growth or Certification
  30.           defect list. When set to _1 the previous G and C lists are purged.
  31.  
  32.  
  33.      DDDDeeeeffffeeeecccctttt LLLLiiiisssstttt FFFFoooorrrrmmmmaaaatttt
  34.           Specifies the format in which the defect descriptor list is sent to
  35.           the device.  Valid formats : _B_y_t_e_s _f_r_o_m _I_n_d_e_x and _P_h_y_s_i_c_a_l _S_e_c_t_o_r
  36.           format
  37.  
  38.  
  39.      FFFFOOOOVVVV ((((FFFFoooorrrrmmmmaaaatttt OOOOppppttttiiiioooonnnnssss VVVVaaaalllliiiidddd)))) bbbbiiiitttt
  40.           Decides the validity of the Format Parameter bits which follow.
  41.           When set to _1 the remaining bits are valid.
  42.  
  43.  
  44.      DDDDPPPPRRRRYYYY ((((DDDDiiiissssaaaabbbblllleeee PPPPrrrriiiimmmmaaaarrrryyyy)))) bbbbiiiitttt
  45.           Decides whether flaws in the device's P list are reallocated during
  46.           format.  When set to _1 flaws in the device's P list are not
  47.           reallocated.
  48.  
  49.  
  50.      DDDDCCCCRRRRTTTT ((((DDDDiiiissssaaaabbbblllleeee CCCCeeeerrrrttttiiiiffffiiiiccccaaaattttiiiioooonnnn)))) bbbbiiiitttt
  51.           Decides whether the device performs a verify function during format.
  52.           When set to _1 the device does not perform a verify function during
  53.           formatting (thus no C list for this format is created or
  54.           reallocated).
  55.  
  56.  
  57.      SSSSTTTTPPPPFFFF ((((SSSSttttoooopppp FFFFoooorrrrmmmmaaaatttt)))) bbbbiiiitttt
  58.           Decides on how the device should react to an error during format.
  59.           When set to _1 formatting is terminated with a Check Condition status
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ssssccccssssiiiiddddiiiisssskkkkffffoooorrrrmmmmaaaatttt((((1111mmmm))))                                          ssssccccssssiiiiddddiiiisssskkkkffffoooorrrrmmmmaaaatttt((((1111mmmm))))
  71.  
  72.  
  73.  
  74.           if an error is encountered while accessing either the P or G defect
  75.           list. The sense key is set to Medium Error and the additional sense
  76.           code is set to either Defect List Not Found or Defect List Error.
  77.  
  78.  
  79.      IIIIPPPP ((((IIIInnnniiiittttiiiiaaaalllliiiizzzzaaaattttiiiioooonnnn PPPPaaaatttttttteeeerrrrnnnn)))) bbbbiiiitttt
  80.           This field indicates the type of pattern the target uses to
  81.           initialize each logical block within the initiator accessible
  82.           portion of the medium. An initialization pattern is not currently
  83.           supported and this bit must be set to _0
  84.  
  85.  
  86.      IIIImmmmmmmmeeeedddd ((((IIIImmmmmmmmeeeeddddiiiiaaaatttteeee)))) bbbbiiiitttt
  87.           When set to _1 the device will return status as soon as the command
  88.           descriptor block has been validated, and the entire defect list has
  89.           been transferred. When set to _0 status will be returned after the
  90.           first operation has completed.
  91.  
  92.  
  93.      The Format Unit command can  also be used to modify the number of user
  94.      accessible blocks and the number of bytes per block for the device.  More
  95.      information about the command can be found in the SSSSCCCCSSSSIIII----3333 BBBBlllloooocccckkkk CCCCoooommmmmmmmaaaannnndddd
  96.      SSSSeeeetttt ((((SSSSBBBBCCCC)))) documents.
  97.  
  98.    OOOOPPPPTTTTIIIIOOOONNNNSSSS
  99.      ----DDDD   Non-interactive mode to format a device with optimum format
  100.           settings.  In this mode, the settings are as follows :  FMT DATA =
  101.           1, CMP LST = 0, FOV = 1, DPRY = 0, DCRT = 0, STPF = 1, IP = 0, Immed
  102.           = 0.
  103.  
  104.      It is recommended to use the above format settings unless there is
  105.      sufficient justification to change them.
  106.  
  107.  
  108.      ----GGGG   Non-interactive mode option to purge the previous Growth(G),
  109.           Certification(C) Defect Lists from the device. This option sets the
  110.           CMP LST Bit to 1.
  111.  
  112.  
  113.      ----CCCC   Non-interactive mode option to set the DCRT (Disable Certification
  114.           Bit) to 1. When the DCRT bit is set to 1, the device doesnot perform
  115.           a Verify Function during formatting (thus no C list for this format
  116.           is created or reallocated).
  117.  
  118.  
  119.      ----SSSS   Non-interactive mode option to set the STPF (Stop Format) bit to 0.
  120.           When the STPF bit is set to 0, formatting is not terminated if an
  121.           error is encountered while accessing either the P or G defect lists.
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. ssssccccssssiiiiddddiiiisssskkkkffffoooorrrrmmmmaaaatttt((((1111mmmm))))                                          ssssccccssssiiiiddddiiiisssskkkkffffoooorrrrmmmmaaaatttt((((1111mmmm))))
  137.  
  138.  
  139.  
  140. EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
  141.      scsidiskformat is invoked with the ----dddd _D_e_v_i_c_e option. The Device must
  142.      correspond to the 'sc' device.  For example
  143.  
  144.      ssssccccssssiiiiddddiiiisssskkkkffffoooorrrrmmmmaaaatttt ----DDDD ----dddd ////ddddeeeevvvv////ssssccccssssiiii////sssscccc9999dddd77770000llll0000
  145.  
  146.      As a general rule using the ----DDDD (Optimum Settings option) will result in
  147.      the best results. Change the optimum settings, only if you are fully
  148.      aware of the changes they make to the SCSI or Fibre Channel device.
  149.  
  150.  
  151.      In the interactive mode an invalid choice results in the default option
  152.      (specified in []) being chosen. For example
  153.  
  154.      SSSSeeeetttt DDDDPPPPRRRRYYYY ((((DDDDiiiissssaaaabbbblllleeee PPPPRRRRiiiimmmmaaaarrrrYYYY)))) BBBBiiiitttt???? ((((yyyy////nnnn))))
  155.  
  156.      Any keystroke other than 'y' or 'Y' will result in 'n' being chosen.
  157.      This facility ensures that the best choices (set as default) are always
  158.      chosen unless the user wishes otherwise.
  159.  
  160.  
  161. FFFFIIIILLLLEEEESSSS
  162.      /dev/scsi/sc*d*l* - the generic 'sc' SCSI, Fibre Channel device
  163.  
  164. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  165.      scsicontrol(1M), scsiha(1M), scsimodepage(1M), scsidisktest(1M).
  166.  
  167. NNNNOOOOTTTTEEEE
  168.      This command is normally usable only by the superuser, because the
  169.      standard permissions of the devices in /dev/scsi restrict access to other
  170.      users.
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.